$(function(){
	$("input[type=button]").click(function(){
		var production_id=$("input[name='production_id']").val();
		var production_num=$("input[name='production_num']").val();
		var production_name=$("input[name='production_name']").val();
		var production_cost=$("input[name='production_cost']").val();
		var production_type=$("input[name='production_type']").val();
		$.ajax({
			url:path+"/productServlet",
			type:"post",
			data:{
				method:'enter',
				production_id: production_id,
				production_num:production_num,
				production_name:production_name,
				production_cost:production_cost,
				production_type:production_type
			},
			dataType:"text",
			success:function(){
				
			},
			error:function(){
				
			}
			
		})
		
	})
})